<?php
class Parser_Image {
    
    protected $_url;
    
    protected $_body;


    public function __construct($body, $url)
    {
        $this->_url = $url;
        $this->_body = $body;
    }
    
    public function parse()
    {
        return array (
            'type' => 'image',
            'url' => $this->_url,
            'image' => $this->_url,
        );
    }
    
    public function body()
    {
        return $this->_body;
    }
    
    public function need_redirect()
    {
        return FALSE;
    }

    public function get_keywords()
    {
        return array();
    }
    
}